Replace a given permission on the input document(s). Returns the document(s).
{
"id" : "Document.ReplacePermission",
"label" : "Replace Permission",
"category" : "Document",
"requires" : null,
"description" : "Replace a given permission on the input document(s). Returns the document(s).",
"url" : "Document.ReplacePermission",
"signature" : [ "document", "document", "documents", "documents" ],
"params" : [ {
"name" : "id",
"description" : "ACE id.",
"type" : "string",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "permission",
"description" : "ACE permission.",
"type" : "string",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "username",
"description" : "ACE target user/group.",
"type" : "string",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "acl",
"description" : "ACL name.",
"type" : "string",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ "local" ]
}, {
"name" : "begin",
"description" : "ACE begin date.",
"type" : "date",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "comment",
"description" : "Comment",
"type" : "string",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "end",
"description" : "ACE end date.",
"type" : "date",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "notify",
"description" : "Notify the user or not",
"type" : "boolean",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
} ]
}